Skip to content

refactor(cli-test)!: move 'create' to 'project create'#2554

Merged
zimeg merged 2 commits into
mainfrom
zimeg-feat-cli-test-project-create
Apr 21, 2026
Merged

refactor(cli-test)!: move 'create' to 'project create'#2554
zimeg merged 2 commits into
mainfrom
zimeg-feat-cli-test-project-create

Conversation

@zimeg
Copy link
Copy Markdown
Member

@zimeg zimeg commented Apr 20, 2026

Summary

  • Moves the create command under a project namespace in @slack/cli-test
  • SlackCLI.create(...)SlackCLI.project.create(...)
  • Continues to run slack create under the hood (matching how auth wraps login/logout)
  • Aligns with Slack CLI v4.0.0 where create became a project subcommand

Changes

  • packages/cli-test/src/cli/commands/create.tspackages/cli-test/src/cli/commands/project.ts — renamed module, exported as default object with create method
  • packages/cli-test/src/cli/commands/create.test.tspackages/cli-test/src/cli/commands/project.test.ts — updated tests
  • packages/cli-test/src/cli/index.ts — replaced create import/export with project

Test plan

  • npm test --workspace=packages/cli-test — all 28 tests pass
  • npx biome check — no lint issues
  • No stale references to old create import remain

🤖 Generated with Claude Code

Co-Authored-By: Claude svc-devxp-claude@slack-corp.com

@zimeg zimeg requested a review from a team as a code owner April 20, 2026 21:25
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 20, 2026

🦋 Changeset detected

Latest commit: 5f32a7c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@slack/cli-test Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@zimeg zimeg added semver:major enhancement M-T: A feature request for new functionality pkg:cli-test applies to `@slack/cli-test` labels Apr 20, 2026
@zimeg zimeg self-assigned this Apr 20, 2026
@zimeg zimeg added this to the cli-test@next milestone Apr 20, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

❌ Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 87.41%. Comparing base (d2b7a89) to head (5f32a7c).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2554   +/-   ##
=======================================
  Coverage   87.41%   87.41%           
=======================================
  Files          62       62           
  Lines       10249    10251    +2     
  Branches      415      415           
=======================================
+ Hits         8959     8961    +2     
  Misses       1269     1269           
  Partials       21       21           
Flag Coverage Δ
cli-hooks 87.41% <83.33%> (+<0.01%) ⬆️
cli-test 87.41% <83.33%> (+<0.01%) ⬆️
logger 87.41% <83.33%> (+<0.01%) ⬆️
oauth 87.41% <83.33%> (+<0.01%) ⬆️
socket-mode 87.41% <83.33%> (+<0.01%) ⬆️
web-api 87.41% <83.33%> (+<0.01%) ⬆️
webhook 87.41% <83.33%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zimeg
Copy link
Copy Markdown
Member Author

zimeg commented Apr 21, 2026

🚢 💨 Will merge this now with a release for updated tests adjacent!

@zimeg zimeg merged commit 5a9bb9a into main Apr 21, 2026
18 of 20 checks passed
@zimeg zimeg deleted the zimeg-feat-cli-test-project-create branch April 21, 2026 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement M-T: A feature request for new functionality pkg:cli-test applies to `@slack/cli-test` semver:major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant